<!--{include biz_header}-->
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="/biz/income/index.php">商家结算</a></li>
    <li><a href="/biz/income/detail.php">结算详情</a></li>
	<li style="float:right;  ">
	 <a href="javascript::" style="padding-right:30px;color:#3B95C8; font-size:22px;">
     <!--{if is_partner()}-->{$login_partner['title']}！<!--{/if}-->
	</a> </li>
    </ul>
</div>
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
<div class="formtitle" style="padding-left:6px;">
	<span>结算详情</span> 
</div>
    <div id="content" class="coupons-box clear mainwide" style="width:95%;">
		<div class="box clear">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
                    
                    <ul class="filter">
						<li style="color:#000; font-size:12px; width:90%;"><form method="get">项目ID：<input type="text" name="team_id" class="h-input" style="width:90px" value="${htmlspecialchars($team_id)}" >&nbsp;结算状态：<select name="state" class="f-input" style="width:100px;">${Utility::Option($income_state, $state, '请选择')}</select>&nbsp;<input type="submit" value="筛选" class="formbutton"  style="padding:1px 6px;"/>&nbsp;<a href="/biz/income/ajax.php?action=application&id={$partner_id}" class="ajaxlink" style=" width:80px;padding: 4px 1em;border: 2px solid;background: #63C5C8;color: white; font-size:14px;letter-spacing: .1em;cursor: pointer;_width: 0;border-image: initial;border-color: #82D0D4 #4D989B #54A3A7 #92D6D9; margin-top:0;">申请结算</a>
                        
                        </form></li>
					</ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="1" class="coupons-table" style="font-size:12px;" bordercolor="#89B4D6">
					<tr><th width="40">ID</th><th width="80">结算状态</th><th width="80">结算金额</th><th width="80">项目ID</th><th width="80">结算数量</th><th width="100">管理员</th><th width="120">操作日期</th><th width="100">备注</th><th width="50">操作</th></tr>
					<!--{loop $incomes $index $one}-->
					<tr ${$index%2?'':'class="alt"'} id="order-list-id-{$one['id']}">
						<td>{$one['id']}</td>
						<td><div style=" float:left;padding:2px 5px 0 0;"><img src="/static/css/i/biz_income_{$one['state']}.png" /></div>{$income_state[$one['state']]}</td>
						<td><span class="money">{$currency}</span> {$one['money']}</td>
						<td>{$one['team_id']}</td>
						<td>{$one['number']}</td>
						<td>{$admins[$one['admin_id']]['username']}</td>
						<td>${date('Y-m-d H:i',$one['time'])}</td>
						<td>{$one['remarks']}</td>
						<td class="op" nowrap><a href="/biz/income/ajax.php?action=incomeview&id={$one['id']}" class="ajaxlink">详情</a></td>
					</tr>
					<!--{/loop}-->
					<tr><td colspan="9">{$pagestring}</tr>
                    </table>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include biz_footer}-->
